package McFacebook;

import static java.lang.String.format;

import java.util.List;

import com.restfb.Facebook;

public class McCommentListado 
{
	  @Facebook("can_remove")
	  boolean can_remove;

	  @Facebook("can_post")
	  boolean can_post;
	  
	  @Facebook("count")
	  long count;
	  
	  @Facebook
	  List<McComment> comment_list;

	  
	  
	  public String toString() 
	    {
	    	String comments = "";
	    	for(McComment c: comment_list)
	    	{
	    		comments += "\n "+c;
	    	}
	      return format("\nCuenta: %s \n Comments: %s \nPuede Postear: %s\nPuede eliminar: %s", count, comments, can_post, can_remove);
	    }



	public long getCount() {
		return count;
	}



	public List<McComment> getComment_list() {
		return comment_list;
	}
	  
	  
	  
}
